using System.Windows.Forms;

namespace FluentBinding.WinForms.Controls
{
    /// <typeparam name="E">Type of the root entity</typeparam>
    public class CheckBoxBinding<E> : ControlBinding<E>, ICheckBoxBinding<E>
    {
        #region Constructors

        public CheckBoxBinding(BindingProxy<E> bindingProxy)
            : base(bindingProxy)
        {
        }

        #endregion

        #region Public properties

        public IPropertyBinding<E, bool> Checked
        {
            get { return Property<bool>("Checked"); }
        }

        #endregion
    }
}